home *** CD-ROM | disk | FTP | other *** search
- /*This is a set of Frame Building Tools That I have designed for ease in putting*/
- /*different style frames in your programs.I am presently working on a sample*/
- /*program demonstrating each of the screens already available and a file called */
- /*READ.ME for documentation on custom designing your own style frames. */
- /* Any questions,comments,or whatever I can be reached on "Compuserve ID 72701,264." */
- /* I do claim all rights to this code. You are free to use this if it is of help */
- /*to you.*/
- /*Thank you for trying my humble little program. */
- /************************************************ Howard Huff *****************/
-
- #define ulcor a
- #define urcor b
- #define llcor c
- #define lrcor d
- #define topbrdr e
- #define botbrdr f
- #define midline g
- #define sideline h
- #define topmid k
- #define botmid l
- #define lsidemid m
- #define rsidemid o
- #define centerpoint p
- #define hmidline s
-
- int a;
- int b;
- int c;
- int d;
- int e;
- int f;
- int g;
- int h;
- int i;
- int j;
- int k;
- int l;
- int m;
- int n;
- int o;
- int p;
- int q;/*spacer*/
- int r; /*spacer*/
- int s;
- /*********************************************************************/
-
- frame80x25 ()
- {int n; /*Top */
- a=201;
- b=187;
- c=200;
- d=188;
- e=205;
- f=205;
- g=205;
- h=186;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- }
- /*************************************************/
-
- frame10x80 ()
- {
- a=201;
- b=187;
- c=200;
- d=188;
- e=205;
- f=205;
- g=205;
- h=186;
- i=77; /*i = length across */
- j=10;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /************************************************/
-
- frame40x25single ()
- {int n; /*Top */
- a=218;
- b=191;
- c=192;
- d=217;
- e=196;
- f=196;
- g=196;
- h=179;
- i=37; /*i = length across */
- j=22;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*************************************************************/
-
- frame80x24single () /*single bar frame*/
- {
- a=218;
- b=191;
- c=192;
- d=217;
- e=196;
- f=196;
- g=196;
- h=179;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*************************************************/
-
- frame10x24single()
- {int n; /*Top */
- a=218;
- b=191;
- c=192;
- d=217;
- e=196;
- f=196;
- g=196;
- h=179;
- i=7; /*i = length across */
- j=22;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t%c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*******************************************/
-
- frame80x10single()
- {
- a=218;
- b=191;
- c=192;
- d=217;
- e=196;
- f=196;
- g=196;
- h=179;
- i=77; /*i = length across */
- j=10;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*****************************************************/
-
- framesolid80x24 ()
- {int n; /*Top */
- a=219;
- b=219;
- c=219;
- d=219;
- e=219;
- f=219;
- g=219;
- h=219;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /********************************************/
-
- framesolid80x10 ()
- {
- a=219;
- b=219;
- c=219;
- d=219;
- e=219;
- f=219;
- g=219;
- h=219;
- i=77; /*i = length across */
- j=10;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /************************************************/
-
- framechecked80x24 ()
- {
- int n; /*Top */
- a=176;
- b=176;
- c=176;
- d=176;
- e=176;
- f=176;
- g=176;
- h=176;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /******************************************************/
-
- framesolid80x5 ()
- {
- a=219;
- b=219;
- c=219;
- d=219;
- e=219;
- f=219;
- g=219;
- h=219;
- i=77; /*i = length across */
- j=3;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*********************************************************/
-
- framechecked80x10 ()
- {
- int n; /*Top */
- a=176;
- b=176;
- c=176;
- d=176;
- e=176;
- f=176;
- g=176;
- h=176;
- i=77; /*i = length across */
- j=8;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*************************************************/
-
- framechecked80x5()
- {
- a=176;
- b=177;
- c=176;
- d=176;
- e=176;
- f=176;
- g=176;
- h=176;
- i=77; /*i = length across */
- j=3;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /***************************************************/
-
- framechck80x24 ()
- {int n; /*Top */
- a=177;
- b=177;
- c=177;
- d=177;
- e=177;
- f=177;
- g=177;
- h=177;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*****************************************/
-
- framechk80x10()
- {
- a=177;
- b=177;
- c=177;
- d=177;
- e=177;
- f=177;
- g=177;
- h=177;
- i=77; /*i = length across */
- j=10;/* j = length down screen */
-
- int n; /*Top */
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- /* bottom */
- int n;
- { printf("%c",llcor);
- {for (n=1;n<=i;++n)
-
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- } }
- /*****************************************************************************/
- /*****************************************************************************/
- v_splt_dframe ()
- {
- int n; /*Top */
- a=201;
- b=187;
- c=200;
- d=188;
- e=205;
- f=205;
- g=186;
- h=186;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=203; /*topmid */
- l=202; /*botmid*/
- m=204; /*lsidemid */
- o=185; /*rsidemid */
- p=206; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
-
- }
- /**************************************************/
-
- v_splt_sframe ()
- {
- int n; /*Top */
- a=218;/* a= upper left corner*/
- b=191;/*b= upper right corner*/
- c=192;/* c=lower left corner*/
- d=217;/* d=lower right corner*/
- e=196; /*e= top border */
- f=196; /*f= bottom border */
- g=179; /*g= verticle midline*/
- h=179; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=194; /*topmid */
- l=193; /*botmid*/
- m=204; /*lsidemid */
- o=185; /*rsidemid */
- p=197; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- s=196;/*horizontal midline */
-
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /*********************************************************/
-
- v_splt_dsframe ()
- {
- int n; /*Top */
- a=213;/* a= upper left corner*/
- b=184;/*b= upper right corner*/
- c=212;/* c=lower left corner*/
- d=190;/* d=lower right corner*/
- e=205; /*e= top border */
- f=205; /*f= bottom border */
- g=179; /*g= verticle midline*/
- h=179; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=209; /*topmid */
- l=207; /*botmid*/
- m=198; /*lsidemid */
- o=181; /*rsidemid */
- p=216; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- s=205;/*horizontal midline */
-
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /**************************************************/
-
- v_splt_sdframe ()
- {
- int n; /*Top */
- a=214;/* a= upper left corner*/
- b=183;/*b= upper right corner*/
- c=211;/* c=lower left corner*/
- d=189;/* d=lower right corner*/
- e=196; /*e= top border */
- f=196; /*f= bottom border */
- g=186; /*g= verticle midline*/
- h=186; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=210; /*topmid */
- l=208; /*botmid*/
- m=199; /*lsidemid */
- o=182; /*rsidemid */
- p=215; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- s=196;/*horizontal midline */
-
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /***********************************************/
-
- v_splt_ssframe ()
- {
- int n; /*Top */
- a=219;/* a= upper left corner*/
- b=219;/*b= upper right corner*/
- c=219;/* c=lower left corner*/
- d=219;/* d=lower right corner*/
- e=219; /*e= top border */
- f=219; /*f= bottom border */
- g=219; /*g= verticle midline*/
- h=219; /*h= sideline */
- i=77; /*i = length across */
- j=12;/* j = length down screen */
- k=219; /*topmid */
- l=219; /*botmid*/
- m=219; /*lsidemid */
- o=219; /*rsidemid */
- p=219; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- s=219;/*horizontal midline */
-
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /**********************************************/
-
- v_splt_chkframe()
- {
- int n; /*Top */
- a=176;/* a= upper left corner*/
- b=176;/*b= upper right corner*/
- c=176;/* c=lower left corner*/
- d=176;/* d=lower right corner*/
- e=176; /*e= top border */
- f=176; /*f= bottom border */
- g=176; /*g= verticle midline*/
- h=176; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=176; /*topmid */
- l=176; /*botmid*/
- m=176; /*lsidemid */
- o=176; /*rsidemid */
- p=176; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- s=176;/*horizontal midline */
-
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /*******************************************/
-
- v_splt_chk1frame ()
- {
- int n; /*Top */
- a=177;/* a= upper left corner*/
- b=177;/*b= upper right corner*/
- c=177;/* c=lower left corner*/
- d=177;/* d=lower right corner*/
- e=177; /*e= top border */
- f=177; /*f= bottom border */
- g=177; /*g= verticle midline*/
- h=177; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=177; /*topmid */
- l=177; /*botmid*/
- m=177; /*lsidemid */
- o=177; /*rsidemid */
- p=177; /*centerpoint*/
- q=38;/*spacer*/
- r=11;/*spacer*/
- s=177;/*horizontal midline */
-
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=j;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /****************************************************************************/
- /****************************************************************************/
-
- h_splt_dframe ()
- {
- int n; /*Top */
- a=201;
- b=187;
- c=200;
- d=188;
- e=205;
- f=205;
- g=186;
- h=186;
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=203; /*topmid */
- l=202; /*botmid*/
- m=204; /*lsidemid */
- o=185; /*rsidemid */
- p=206; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=205;/*horizontal mid line */
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
-
- }
- /*********************************************/
-
- h_splt_sframe ()
- {
- int n; /*Top */
- a=218;/* a= upper left corner*/
- b=191;/*b= upper right corner*/
- c=192;/* c=lower left corner*/
- d=217;/* d=lower right corner*/
- e=196; /*e= top border */
- f=196; /*f= bottom border */
- g=179; /*g= verticle midline*/
- h=179; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=194; /*topmid */
- l=193; /*botmid*/
- m=195; /*lsidemid */
- o=180; /*rsidemid */
- p=197; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=196;/*horizontal midline */
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
-
- }
- /**********************************************/
-
- h_splt_dsframe ()
- {
- int n; /*Top */
- a=213;/* a= upper left corner*/
- b=184;/*b= upper right corner*/
- c=212;/* c=lower left corner*/
- d=190;/* d=lower right corner*/
- e=205; /*e= top border */
- f=205; /*f= bottom border */
- g=179; /*g= verticle midline*/
- h=179; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=209; /*topmid */
- l=207; /*botmid*/
- m=198; /*lsidemid */
- o=181; /*rsidemid */
- p=216; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=205;/*horizontal midline */
-
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /***************************************************/
-
- h_splt_sdframe ()
- {
- int n; /*Top */
- a=214;/* a= upper left corner*/
- b=183;/*b= upper right corner*/
- c=211;/* c=lower left corner*/
- d=189;/* d=lower right corner*/
- e=196; /*e= top border */
- f=196; /*f= bottom border */
- g=186; /*g= verticle midline*/
- h=186; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- l=210; /*topmid */
- l=208; /*botmid*/
- m=199; /*lsidemid */
- o=182; /*rsidemid */
- p=215; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=196;/*horizontal midline */
-
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /********************************************/
-
- h_splt_ssframe ()
-
- {
- int n; /*Top */
- a=219;/* a= upper left corner*/
- b=219;/*b= upper right corner*/
- c=219;/* c=lower left corner*/
- d=219;/* d=lower right corner*/
- e=219; /*e= top border */
- f=219; /*f= bottom border */
- g=219; /*g= verticle midline*/
- h=219; /*h= sideline */
- i=77; /*i = length across */
- j=12;/* j = length down screen */
- k=219; /*topmid */
- l=219; /*botmid*/
- m=219; /*lsidemid */
- o=219; /*rsidemid */
- p=219; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=219;/*horizontal midline */
-
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
-
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /************************************************/
-
- h_splt_chkframe()
-
- {
- int n; /*Top */
- a=176;/* a= upper left corner*/
- b=176;/*b= upper right corner*/
- c=176;/* c=lower left corner*/
- d=176;/* d=lower right corner*/
- e=176; /*e= top border */
- f=176; /*f= bottom border */
- g=176; /*g= verticle midline*/
- h=176; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=176; /*topmid */
- l=176; /*botmid*/
- m=176; /*lsidemid */
- o=176; /*rsidemid */
- p=176; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=176;/*horizontal midline */
-
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /********************************************************/
-
- h_splt_chk1frame ()
-
- {
- int n; /*Top */
- a=177;/* a= upper left corner*/
- b=177;/*b= upper right corner*/
- c=177;/* c=lower left corner*/
- d=177;/* d=lower right corner*/
- e=177; /*e= top border */
- f=177; /*f= bottom border */
- g=177; /*g= verticle midline*/
- h=177; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=177; /*topmid */
- l=177; /*botmid*/
- m=177; /*lsidemid */
- o=177; /*rsidemid */
- p=177; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=177;/*horizontal midline */
- /************* TOP ************/
- printf("%c",ulcor);
- {for (n=1;n<=i;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
- printf("%c",lsidemid);
- { for(n=1;n<=i;++n)
- printf("%c",hmidline);
- }
- printf("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t\t\t\t\t\t %c\n",sideline,sideline);
- }
-
- /* bottom */
- int n;
- printf("%c",llcor);
- {for (n=1;n<=i;++n)
- printf("%c",botbrdr);
- }
- printf("%c",lrcor);
- }
- /**************************************************************************/
- /**************************************************************************/
- hv_splt_dframe ()
-
- {
- int n; /*Top */
- a=201; /* ulcor */
- b=187; /* urcor */
- c=200; /*llcor */
- d=188; /* lrcor */
- e=205; /*topbrdr */
- f=205; /* botbrdr */
- g=186; /* verticle midline */
- h=186; /*sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=203; /*topmid */
- l=202; /*botmid*/
- m=204; /*lsidemid */
- o=185; /*rsidemid */
- p=206; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=205; /*horizontal midline*/
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
- /*********************************************************/
- hv_splt_sframe ()
- {
- int n; /*Top */
- a=218;/* a= upper left corner*/
- b=191;/*b= upper right corner*/
- c=192;/* c=lower left corner*/
- d=217;/* d=lower right corner*/
- e=196; /*e= top border */
- f=196; /*f= bottom border */
- g=179; /*g= verticle midline*/
- h=179; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=194; /*topmid */
- l=193; /*botmid*/
- m=195; /*lsidemid */
- o=180; /*rsidemid */
- p=197; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=196;/*horizontal midline */
-
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
-
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
- /***************************************/
-
- hv_splt_dsframe ()
- {
- int n; /*Top */
- a=213;/* a= upper left corner*/
- b=184;/*b= upper right corner*/
- c=212;/* c=lower left corner*/
- d=190;/* d=lower right corner*/
- e=205; /*e= top border */
- f=205; /*f= bottom border */
- g=179; /*g= verticle midline*/
- h=179; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=209; /*topmid */
- l=207; /*botmid*/
- m=198; /*lsidemid */
- o=181; /*rsidemid */
- p=216; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=205;/*horizontal midline */
-
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
- /****************************************/
-
- hv_splt_sdframe ()
- {
- int n; /*Top */
- a=214;/* a= upper left corner*/
- b=183;/*b= upper right corner*/
- c=211;/* c=lower left corner*/
- d=189;/* d=lower right corner*/
- e=196; /*e= top border */
- f=196; /*f= bottom border */
- g=186; /*g= verticle midline*/
- h=186; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=210; /*topmid */
- l=208; /*botmid*/
- m=199; /*lsidemid */
- o=182; /*rsidemid */
- p=215; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=196;/*horizontal midline */
-
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
- /*****************************************************/
-
- hv_splt_ssframe ()
- {
- int n; /*Top */
- a=219;/* a= upper left corner*/
- b=219;/*b= upper right corner*/
- c=219;/* c=lower left corner*/
- d=219;/* d=lower right corner*/
- e=219; /*e= top border */
- f=219; /*f= bottom border */
- g=219; /*g= verticle midline*/
- h=219; /*h= sideline */
- i=77; /*i = length across */
- j=12;/* j = length down screen */
- k=219; /*topmid */
- l=219; /*botmid*/
- m=219; /*lsidemid */
- o=219; /*rsidemid */
- p=219; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=219;/*horizontal midline */
-
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
- /****************************************/
-
- hv_splt_chkframe()
- {
- int n; /*Top */
- a=176;/* a= upper left corner*/
- b=176;/*b= upper right corner*/
- c=176;/* c=lower left corner*/
- d=176;/* d=lower right corner*/
- e=176; /*e= top border */
- f=176; /*f= bottom border */
- g=176; /*g= verticle midline*/
- h=176; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=176; /*topmid */
- l=176; /*botmid*/
- m=176; /*lsidemid */
- o=176; /*rsidemid */
- p=176; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=176;/*horizontal midline */
-
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
- /************************************************/
-
- hv_splt_chk1frame ()
- {
- int n; /*Top */
- a=177;/* a= upper left corner*/
- b=177;/*b= upper right corner*/
- c=177;/* c=lower left corner*/
- d=177;/* d=lower right corner*/
- e=177; /*e= top border */
- f=177; /*f= bottom border */
- g=177; /*g= verticle midline*/
- h=177; /*h= sideline */
- i=77; /*i = length across */
- j=22;/* j = length down screen */
- k=177; /*topmid */
- l=177; /*botmid*/
- m=177; /*lsidemid */
- o=177; /*rsidemid */
- p=177; /*centerpoint*/
- q=38;/*spacer*/
- r=10;/*spacer*/
- s=177;/*horizontal midline */
-
- /*************** TOP **************/
- printf("%c",ulcor);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c",topmid);
- {for (n=1;n<=q;++n)
- printf("%c",topbrdr);
- }
- printf("%c\n",urcor);
-
-
- /* sides*/
-
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- printf("%c",lsidemid);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c",centerpoint);
- { for (n=1;n<=q;++n)
- printf ("%c",hmidline);
- }
- printf ("%c\n",rsidemid);
- {for (n=1;n<=r;++n)
- printf("%c\t\t\t\t %c\t\t\t\t %c\n",sideline,midline,sideline);
- }
- /* bottom */
- printf("%c",llcor);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c",botmid);
- {for (n=1;n<=q;++n)
- printf("%c",botbrdr);
- }
- printf("%c\n",lrcor);
- }
-